<% var list= para0;
for(menu in list ) {%>
  <% if(menu.isParent){ %>
	<li class="treeview">
	  <a _href="${BASE}${menu._href}">
	    <i class="${menu.icon}"></i> <span>${menu.name}</span>
	    <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
	  </a>
	  <ul class="treeview-menu"><% sidemenu(menu.children); %></ul>
	</li>
  <% }else{ %>
    <li><a _href="${BASE}${menu._href}"><i class="${menu.icon}"></i>&nbsp;${menu.name}</a></li>
  <% } %>
<% } %>